package org.sfx.rich

import java.lang.reflect.Type
import java.lang.reflect.ParameterizedType

case class RichParameterizedType(val underlying: ParameterizedType) {
  def actualTypeArguments: Array[Type] = underlying.getActualTypeArguments()
  def ownerType: Option[Type] = Option(underlying.getOwnerType())
  def rawType: Type = underlying.getRawType()
  def richKind: String = "ParameterizedType"
}
